From cf1adadfed61c4157c97238ca1ab2b9ca3deb6c1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 14 Nov 2015 09:49:49 -0500 Subject: [PATCH] listbox: Cosmetic cleanup We don't cast these arguments anywhere else, so lets not do here either. --- gtk/gtklistbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c index bff3f32918..82d759e141 100644 --- a/gtk/gtklistbox.c +++ b/gtk/gtklistbox.c @@ -3150,8 +3150,8 @@ gtk_list_box_row_draw (GtkWidget *widget, context = gtk_widget_get_style_context (widget); state = gtk_widget_get_state_flags (widget); - gtk_render_background (context, cr, (gdouble) 0, (gdouble) 0, (gdouble) allocation.width, (gdouble) allocation.height); - gtk_render_frame (context, cr, (gdouble) 0, (gdouble) 0, (gdouble) allocation.width, (gdouble) allocation.height); + gtk_render_background (context, cr, 0, 0, allocation.width, allocation.height); + gtk_render_frame (context, cr, 0, 0, allocation.width, allocation.height); if (gtk_widget_has_visible_focus (GTK_WIDGET (row))) { -- 2.30.2